import request from "@/utils/axiosHttp";


// 投放地址（店铺列表）
export function deviceStoresList(query) {
	return request({
		url: '/deviceStores/pageList',
		method: 'get',
		params: query
	})
}

// 新增
export function addStore(data) {
	return request({
		url: '/deviceStores/addStore',
		method: 'post',
		data: data
	})
}

// 修改店铺
export function updateStore(data) {
	return request({
		url: '/deviceStores/updateStore',
		method: 'post',
		data: data
	})
}

// 删除店铺
export function deleteStore(data) {
	return request({
		url: '/deviceStores/deleteStore',
		method: 'post',
		data: data
	})
}

// 设备收益
export function incomeInfo_device(query) {
	return request({
		url: '/deviceStores/incomeInfo_device',
		method: 'get',
		params: query
	})
}
